-
Notifications
You must be signed in to change notification settings - Fork 109
[DRAFT] Configure Enroot and Pyxis only on HeadNode #2816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a8b0b3d to
8998aff
Compare
cookbooks/aws-parallelcluster-platform/templates/pyxis/pyxis.conf.erb
Outdated
Show resolved
Hide resolved
8998aff to
c914e55
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release-3.11 #2816 +/- ##
===============================================
Coverage ? 76.67%
===============================================
Files ? 22
Lines ? 2242
Branches ? 0
===============================================
Hits ? 1719
Misses ? 523
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
9a091ef to
e77e02b
Compare
9321be0 to
6d017a9
Compare
cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb
Outdated
Show resolved
Hide resolved
| directory "#{node['cluster']['shared_dir']}/enroot" do | ||
| owner node['cluster']['cluster_user'] | ||
| # group node['cluster']['cluster_user'] | ||
| mode '1777' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be 0755?
cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb
Outdated
Show resolved
Hide resolved
cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb
Outdated
Show resolved
Hide resolved
cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb
Outdated
Show resolved
Hide resolved
cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_common.rb
Outdated
Show resolved
Hide resolved
4f2fc28 to
bbabdf0
Compare
57e5199 to
2efe619
Compare
* Replacing sed commands with templates * Replacing creation of directories with chef resource * Adding Chef Attributes for enabling Pyxis * Changing Kitchen test for Enroot and Pyxis
2efe619 to
3813a87
Compare
| ENROOT_CACHE_PATH ${ENROOT_CACHE_PATH} | ||
| ENROOT_DATA_PATH /tmp/enroot/data/user-$(id -u) | ||
| ENROOT_RUNTIME_PATH /run/enroot/user-$(id -u) | ||
| ENROOT_CONFIG_PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should create an enroot config path. Like /home/user-$(id -u)/.config/enroot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our users could share the /home folder and we would end up in the original situation where these paths expected to be local became shared. I suggest to avoid the use of /home for these paths. In Pyxis/Enroot docs/Example sometimes they mention /home because they assume it's a local folder.
|
Closed in favour of #2820 |
Description of changes
Tests
{"cluster":{"pyxis":{"enabled":true},"enroot":{"enabled":true}}}References
Checklist
developadd the branch name as prefix in the PR title (e.g.[release-3.6]).Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.